package net.hn.hnms.biz.indicator.service;

import net.hn.hnms.biz.indicator.dao.SysIndicatorRolesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 智呈物联 nzw
 * @date 2022/9/22
 */
@Service
public class SysIndicatorRolesService {
    SysIndicatorRolesMapper sysIndicatorRolesMapper;

    @Autowired
    public void setSysIndicatorRolesMapper(SysIndicatorRolesMapper sysIndicatorRolesMapper) {
        this.sysIndicatorRolesMapper = sysIndicatorRolesMapper;
    }

    public boolean removeById(Long id){
        sysIndicatorRolesMapper.deleteById(id);
        return true;
    }
}
